home *** CD-ROM | disk | FTP | other *** search
- GETMOUSE: mouse input for Batch files
-
- SPETER SOFTWARE, Version 1.1, (c) Copyright March 1990
-
-
- This program allows mouse or keyboard input for batch files, using
- the up & down cursor keys or a MS compatible mouse (if available).
-
- The program was written in Borland's Turbo Pascal 5.5
-
-
- SYNTAX:
- GETMOUSE <x1> <y1> <x2> <y2> <valid-characters> <x> <y>
- where: (x1,y1) - (x2,y2) define the limits of mouse movement
- "valid-characters" allows for "hit-keys"
- (x,y) initial mouse cursor position
-
-
- RETURNS:
- errorlevel = 100 + line-num (1-25) - when a mouse button is pressed
- or
- if one of the "valid-characters" is entered then
- the errorlevel is set equal to 200+position-of-character-in-list.
-
-
- EXAMPLES:
- command line: getmouse 1 10 25 15 mtydka 5 12
-
- ERRORLEVEL ACTION
- 204 letter "d" typed
- 112 a mouse button pressed, with the mouse cursor on line 12
- 114 <Enter> key pressed, with the text cursor on line 14
-
-
- SOURCE LISTING
- For a commented source listing of the program, send $50 to the address below.
-
- ==============================================================================
- Please address any comments to
-
- SPETER software
- PO Box 643
- Lane Cove
- NSW 2066
- Australia
- ==============================================================================
-